<!DOCTYPE html>
<html>
<head>
	<title></title>
</head>
<body>

<script type="text/javascript">
	
var a = 1;

function test() {
	console.error(a);
	var a = "qwe";
}


test();

</script>

</body>
</html>